<? if(!session_id()) session_start();?>
<? 
if ($_REQUEST['frame']=='gif') include("module/gifcard_popup.php");
if ($_REQUEST['frame']=='book') include("module/book.php");
else {
?>
<? require("../config.php") ?>
<? require("../common_start.php") ?>
<? require("module/module_func.php") ?>
<? require("../inc/function_style.php") ?>
<? require("../news/news_func.php") ?>
<? $news=GetNewsCategoryInfo($_REQUEST['idbg']);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>pearlriverspa.com</title>
<meta name="description" content="Experience all that Sothys has to offer in its flagship spa located in NYC.  The spa offers luxury treatments including facials, massages, nail and waxing services.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="content-language" content="en">
<link rel="stylesheet" href="../images/load_all_css.css" type="text/css" media="screen">
<SCRIPT src="../menu/menu.js"></SCRIPT>
<link rel="stylesheet" type="text/css" href="../menu/menu.css">

<? if($_REQUEST['frame']==''){?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script type="text/javascript" src="../box/fadeslideshow.js"></script>

<script type="text/javascript">

var mygallery=new fadeSlideShow({
	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
	dimensions: [1305, 770], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [ 
			["../upload/intro2.jpg", "", "", ""],
		["../upload/intro3.jpg", ""],
		["../upload/intro4.jpg"],
		["../upload/intro5.jpg"],
		["../upload/intro6.jpg"],
		["../upload/intro7.jpg"],
		["../upload/intro8.jpg", "", "", ""] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 500, //transition duration (milliseconds)
	descreveal: "ondemand",
	togglerid: ""
})


</script> 

<? }else {?>

 
<link rel="stylesheet" type="text/css" href="../box/shadowbox.css">
<script type="text/javascript" src="../box/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox({
    handleOversize: "drag",
    modal: true
});
</script>



<script type="text/javascript" src="../images/load_all_js.php"></script>
<script type="text/javascript">
  $(function(){
	  $.fn.supersized.options = {  
		  startwidth: 1305,  
		  startheight: 770,
		  vertical_center: 1,
		  slideshow: 0,
		  navigation: 0,
		  transition: 4, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
		  pause_hover: 0,
		  slide_counter: 0,
		  slide_captions: 0,
		  slide_interval: 0 
	  };
	  $('#supersize').supersized(); 
  });	
</script>
<style type="text/css">
#loading {
	background-image: url('<?=$news['categories_description']?>');
}
</style>
<!--[if IE 6]>
<script type="text/javascript">
  $(function(){
	  $('#supersize').show(); 
  });	
</script>
<![endif]--> 
<? }?>
</head>
<body style="background:<?=$news['language']?>;padding:0px; margin:0px">
<div style="display: none;" id="loading"></div>
<div style="display: block;" id="supersize"><? if($_REQUEST['frame']==''){?><div id="fadeshow1"></div><? } else { ?><img src="<?=$news['categories_description']?>" /><? }?></div> 
<div id="lt_column">
  <div id="logo"></div>
  <div id="flash_menu">
    <? require("module/listcategories.php") ?>
    <div id="address">
      <? include("portal/box_thongke.php"); ?>
    </div>
  </div>
</div>
<div id="main_wrapper">
  <!-- content_post-->
  <div id="content_post">
  
  

  
  
    <? if($_REQUEST['frame']==''){ include('module/module_home.php') ;}
else { 

?>
    <div class="post">
      <div style="padding-left:112px">
        <? if($_REQUEST['frame']=='category'){?>
     <h2 style="background:url(../images/tran.png) no-repeat left top; height:42px;
margin-bottom:10px;
padding-bottom:20px; font-family:Arial, Helvetica, sans-serif;  font-size:26px;color:#8F6B16;white-space:nowrap; font-weight:normal ">
          <?  include("module/process_title.php");?>
         </h2>    
        
        
        <? } else {}?>
        <? include("module/process_frame.php"); ?>
      </div>
    </div>
    <? }?>
  </div>
  <!--END content_post-->
</div>
<!--END main_wrapper-->
<div id="footer">
  <div id="footer_content">
    <div id="footer_diachi">
      <p style="font:11px  font-family:Arial, Helvetica, sans-serif;padding:0px;text-align:justify;line-height:17px"><b> Sothys Paris  |  Sothys Vietnam  | PearlRiver Spa</b> <br />
      <a href="../vn" >  English  </a> |    <a href="../en" > <font color="#999999">  Tiếng Việt </font></a><br />
       <a href="http://www.trivietit.net/" target="_blank">  Design by Tri Viet</a></p>
    </div>
    <div id="footer_menu">
      <ul id="navnav">
        <li ><a <? if($_REQUEST['frame']=='intro'){?>class="current"<? } else {} ?> href="./?frame=intro&idbg=17">INTRO</a></li>
        <li><a href="./?frame=spapac&idbg=14"<? if($_REQUEST['frame']=='spapac'){?>class="current"<? }else {} ?> >Gói spa</a></li>
        <li><a  href="./?frame=gifcard&idbg=15"  <? if($_REQUEST['frame']=='gifcard'){?>class="current"<? } else {}?>>Thẻ quà tặng</a></li>
        <li><a href="./?frame=spacia&idbg=16"  <? if($_REQUEST['frame']=='spacia'){?>class="current"<? } else {}?>>Đặc biệt</a> </li>
        <li><a href="./?frame=contact&idbg=13"  <? if($_REQUEST['frame']=='contact'){?>class="current"<? } else {}?>>Liên hệ</a></li>
      </ul>
    </div>
  </div>
</div>
</body>
</html>
<? }?>